﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;


namespace University.Workshop.Model
{
    [Table("Prescription")]
    public class Prescription
    {
        [Column(Order = 0)]
        public int PrescriptionId { set; get; }
        [Column(Order = 1)]
        public string Medicine { set; get; }
        [Column(Order = 2)]
        public string Quantity { set; get; }

        public Prescription(int prescriptionId, string medicine, string quantity)
        {
            this.PrescriptionId = prescriptionId;
            this.Medicine = medicine;
            this.Quantity = quantity;
        }
    }
}
